package com.tudouji.project.product.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.tudouji.framework.aspectj.lang.annotation.Excel;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 分类对象 category
 *
 * @author tudouji
 * @date 2020-12-28
 */
@Data
public class Category {
    private static final long serialVersionUID = 1L;

    private Long id;

    /**
     * 主键
     */
    private String guid;

    /**
     * 分类编码
     */
    @Excel(name = "分类编码")
    private String code;

    /**
     * 分类名称
     */
    @Excel(name = "分类名称")
    private String name;

    /**
     * 操作人id
     */
    private String operatorid;

    /**
     * 操作人
     */
    @Excel(name = "操作人")
    private String operator;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间")
    private Date createtime;

    private Integer productType;

    private String productTypeName;
}
